package com.lmqb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.LogWeixin;
import com.lmqb.page.WeiXinLogPager;

public interface LogWeixinMapper {
    int deleteByPrimaryKey(Integer logId);

    int insert(LogWeixin record);

    int insertSelective(LogWeixin record);

    LogWeixin selectByPrimaryKey(Integer logId);

    int updateByPrimaryKeySelective(LogWeixin record);

    int updateByPrimaryKey(LogWeixin record);

	List<LogWeixin> selectAll(WeiXinLogPager pagerModel);

	int selectCount(WeiXinLogPager pagerModel);

	List<LogWeixin> selectByUserId(@Param(value="startPos") Integer startPos,
            @Param(value="pageSize") Integer pageSize,@Param("userId")Integer userId);
	
	Integer weixinCount(Integer userId);
}